﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace COFE.Core.Actions
{
    [ScheduleFilter("Id")]
    public class GuidScheduleFilter : ScheduleFilterBase
    {
        #region Constructor

        public GuidScheduleFilter(Guid scheduleId)
            : base(scheduleId.ToString())
        {
            _scheduleId = scheduleId;
        }

        #endregion

        #region Methods

        public override bool Match(ISchedule schedule)
        {
            return schedule.Id == _scheduleId;
        }

        #endregion

        #region Data
        Guid _scheduleId;

        #endregion

        #region Public Properties

        #endregion

    }
}
